@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --espresso: #3F342C;
  --taupe: #856A57;
  --sand: #E0D7CE;
  --cream: #F5F2ED;
  --bg: #F5F2ED;
  --fg: #3F342C;
  --surface: rgba(255,255,255,.6);
  --border: rgba(133,106,87,.15);
  --font-d: 'Poppins', sans-serif;
  --font-b: 'Poppins', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-b); background: var(--bg); color: var(--fg); overflow-x: hidden; font-size: 14px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
section { scroll-margin-top: 80px; }
.wordmark { font-family: var(--font-d); font-weight: 600; letter-spacing: .04em; }

/* NAV */
.nav { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 100;
  display: flex; align-items: center; gap: 28px; padding: 10px 24px 10px 16px;
  background: rgba(44,34,27,.72); backdrop-filter: blur(32px) saturate(180%); -webkit-backdrop-filter: blur(32px) saturate(180%);
  border-radius: 50px; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 8px 32px rgba(0,0,0,.35); white-space: nowrap; }
.nav .brand { color: #fff; text-decoration: none; font-size: 13px; }
.nav-links { display: flex; align-items: center; gap: 20px; list-style: none; }
.nav-links a { color: rgba(255,255,255,.85); text-decoration: none; font-size: 12.5px; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-cta { background: rgba(255,255,255,.14) !important; color: #fff !important; padding: 7px 18px; border-radius: 50px; border: 1px solid rgba(255,255,255,.22) !important; }

/* BOTÕES */
.btn { display: inline-block; padding: 13px 30px; border-radius: 50px; font: 600 13px var(--font-b); letter-spacing: .06em; text-decoration: none; cursor: pointer; border: none; transition: transform .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--taupe); color: #fff; box-shadow: 0 4px 16px rgba(133,106,87,.4); }
.btn-outline { background: transparent; color: var(--sand); border: 1.5px solid rgba(224,215,206,.35); }
.btn-dark { background: var(--espresso); color: #fff; }
.btn-small { padding: 8px 16px; font-size: 12px; }

/* HERO */
.hero { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: var(--espresso); padding: 100px 28px 56px; position: relative; overflow: hidden; color: var(--cream); }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 25% 70%, rgba(133,106,87,.28) 0%, transparent 55%), radial-gradient(ellipse at 78% 15%, rgba(133,106,87,.18) 0%, transparent 50%); }
.hero-logo { width: min(360px, 76vw); margin-bottom: 28px; position: relative; z-index: 1; }
.hero-logo svg, .nav-logo svg { fill: #fff; }
.hero h1 { font-family: var(--font-d); font-size: clamp(28px, 4vw, 44px); font-weight: 600; position: relative; z-index: 1; margin-bottom: 8px; }
.hero-tagline { font-size: clamp(12px, 1.6vw, 15px); color: var(--sand); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 36px; font-weight: 300; opacity: .85; position: relative; z-index: 1; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; position: relative; z-index: 1; }

/* SEÇÕES */
.section { padding: 96px 0; }
.section-alt { background: var(--espresso); color: var(--cream); }
.section-label { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); margin-bottom: 10px; }
.section-title { font-family: var(--font-d); font-size: clamp(26px, 3.6vw, 42px); font-weight: 600; line-height: 1.15; margin-bottom: 28px; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-header .section-title { margin-bottom: 0; }
.muted { color: var(--taupe); }

/* SOBRE */
.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.sobre-text h2 { font-family: var(--font-d); font-size: clamp(22px, 3vw, 34px); font-weight: 600; margin-bottom: 18px; line-height: 1.2; }
.sobre-text p { font-size: 14.5px; line-height: 1.85; color: var(--taupe); margin-bottom: 14px; }
.sobre-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.feature-item { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: rgba(133,106,87,.07); border-radius: 14px; border: 1px solid var(--border); font-size: 12.5px; font-weight: 600; }
.feature-item::before { content: '✓'; color: var(--taupe); font-weight: 700; }
.placeholder-img { aspect-ratio: 4/3; border-radius: 24px; background: linear-gradient(135deg, var(--sand), var(--taupe)); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.8); font-size: 12px; letter-spacing: .08em; text-align: center; padding: 24px; }

/* PERFIL / CARDS DE EQUIPE */
.photo-box { background: linear-gradient(160deg, #c4b4a7 0%, #856A57 60%, #5c4a3c 100%); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.photo-box img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.photo-initials { font-family: var(--font-d); font-size: 56px; font-weight: 600; color: rgba(255,255,255,.7); }

.dr { background: var(--espresso); color: var(--cream); }
.dr-grid { display: grid; grid-template-columns: 300px 1fr; gap: 60px; align-items: center; }
.dr-photo { border-radius: 24px; overflow: hidden; }
.dr-photo .photo-box { aspect-ratio: 3/4; }
.dr-info h2 { font-family: var(--font-d); font-size: clamp(26px, 3.5vw, 42px); font-weight: 600; line-height: 1.1; margin-bottom: 6px; }
.dr-sub { font-size: 14px; color: var(--taupe); margin-bottom: 18px; font-weight: 500; }
.dr-bio { font-size: 14px; line-height: 1.85; color: rgba(224,215,206,.75); margin-bottom: 28px; }
.btn-cv { background: var(--taupe); color: #fff; border: none; padding: 13px 26px; border-radius: 50px; font: 600 13px var(--font-b); cursor: pointer; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team-card { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; overflow: hidden; cursor: pointer; transition: transform .3s, box-shadow .3s; text-align: left; font: inherit; color: inherit; width: 100%; }
.team-card:hover { transform: translateY(-5px); box-shadow: 0 18px 52px rgba(63,52,44,.14); }
.team-card .photo-box { aspect-ratio: 1; }
.team-card-body { padding: 20px; }
.team-card-name { font-family: var(--font-d); font-size: 19px; font-weight: 600; margin-bottom: 4px; }
.team-card-role { font-size: 12px; color: var(--taupe); font-weight: 500; margin-bottom: 14px; }
.team-card-cta { font-size: 11.5px; color: var(--taupe); font-weight: 500; letter-spacing: .04em; }

/* MODAL DE CURRÍCULO */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0); z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.active { display: flex; background: rgba(0,0,0,.65); backdrop-filter: blur(10px); }
.modal { background: var(--cream); border-radius: 28px; width: 100%; max-width: 720px; max-height: 88vh; overflow-y: auto; box-shadow: 0 32px 80px rgba(0,0,0,.35); animation: pop .35s cubic-bezier(.34,1.56,.64,1); }
@keyframes pop { from { transform: translateY(30px) scale(.95); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close { position: sticky; top: 14px; float: right; margin: 14px 14px 0 0; width: 34px; height: 34px; border-radius: 50%; background: rgba(63,52,44,.1); border: none; cursor: pointer; font-size: 17px; color: var(--espresso); z-index: 5; }
.modal-photo { aspect-ratio: 16/9; border-radius: 24px 24px 0 0; }
.modal-content { padding: 28px 32px 32px; }
.modal-name { font-family: var(--font-d); font-size: 26px; font-weight: 600; margin-bottom: 4px; }
.modal-role { color: var(--taupe); font-size: 13px; font-weight: 500; margin-bottom: 18px; }
.modal-bio { font-size: 13.5px; line-height: 1.85; color: rgba(63,52,44,.75); margin-bottom: 22px; }
.modal-h { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); margin: 6px 0 14px; }
.tl { padding-left: 18px; border-left: 2px solid var(--sand); }
.tl-item { position: relative; padding-bottom: 16px; }
.tl-item::before { content: ''; position: absolute; left: -23px; top: 5px; width: 8px; height: 8px; border-radius: 50%; background: var(--taupe); }
.tl-year { font-size: 10px; font-weight: 700; color: var(--taupe); letter-spacing: .1em; text-transform: uppercase; }
.tl-title { font-size: 13.5px; font-weight: 600; }
.tl-text { font-size: 12.5px; color: rgba(63,52,44,.7); line-height: 1.6; }
.dr .tl-title { color: var(--cream); }
.dr .tl-text { color: rgba(224,215,206,.6); }

/* BLOG */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card { background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.09); border-radius: 22px; overflow: hidden; text-decoration: none; transition: transform .3s; display: block; }
.blog-card:hover { transform: translateY(-4px); }
.blog-card-cover { aspect-ratio: 16/9; background: linear-gradient(160deg, rgba(133,106,87,.35), rgba(42,30,20,.7)); }
.blog-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 20px; }
.cat { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); margin-bottom: 7px; }
.blog-card-title { font-family: var(--font-d); font-size: 17px; font-weight: 600; line-height: 1.3; margin-bottom: 9px; }
.blog-card-excerpt { font-size: 12.5px; line-height: 1.75; color: rgba(224,215,206,.65); }
.dr-blog .blog-card-title, .section-alt .blog-card-title { color: var(--cream); }
.blog-tools { display: flex; gap: 12px; justify-content: center; margin: 0 auto 36px; max-width: 520px; }
.search { flex: 1; padding: 12px 18px; border-radius: 50px; border: 1px solid var(--border); background: var(--surface); font: inherit; color: var(--fg); }
.pager { display: flex; gap: 10px; justify-content: center; align-items: center; margin-top: 40px; }
.pager button { padding: 9px 18px; border-radius: 50px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; font: inherit; color: var(--fg); }
.pager button:disabled { opacity: .4; cursor: default; }

/* PÁGINA DE PUBLICAÇÃO */
.post-page { min-height: 100vh; padding-top: 110px; background: var(--bg); }
.post-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; max-width: 1100px; margin: 0 auto; padding: 0 24px 80px; }
.back { display: inline-block; color: var(--taupe); font-size: 12.5px; font-weight: 600; margin-bottom: 28px; text-decoration: none; }
.post-title { font-family: var(--font-d); font-size: clamp(24px, 4vw, 44px); font-weight: 700; line-height: 1.15; margin-bottom: 14px; }
.post-meta { font-size: 12.5px; color: var(--taupe); margin-bottom: 28px; }
.post-cover { aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; margin-bottom: 32px; background: linear-gradient(160deg, rgba(133,106,87,.35), rgba(42,30,20,.85)); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-body { font-size: 15.5px; line-height: 1.9; }
.post-body p { margin-bottom: 18px; }
.post-body h2 { font-family: var(--font-d); font-size: 22px; font-weight: 600; margin: 32px 0 14px; color: var(--espresso); }
.post-body h3 { font-family: var(--font-d); font-size: 18px; font-weight: 600; margin: 26px 0 12px; }
.post-body img { border-radius: 14px; margin: 20px 0; }
.post-body blockquote { border-left: 3px solid var(--taupe); padding-left: 18px; color: var(--taupe); font-style: italic; margin: 22px 0; }
.post-body ul, .post-body ol { margin: 0 0 18px 22px; }
.post-body a { color: var(--taupe); }
.archive { position: sticky; top: 100px; align-self: start; }
.archive h3 { font-family: var(--font-d); font-size: 17px; font-weight: 600; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.archive a { display: block; padding: 11px 0; border-bottom: 1px solid var(--border); text-decoration: none; font-size: 13px; font-weight: 500; line-height: 1.4; }
.archive a:hover { color: var(--taupe); }
.archive small { display: block; font-size: 10.5px; color: var(--taupe); font-weight: 400; margin-top: 2px; }

/* MAPA E CONTATO */
.map-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.map-visual { aspect-ratio: 4/3; border-radius: 22px; background: linear-gradient(135deg, var(--sand), var(--taupe)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 600; text-align: center; padding: 32px; }
.map-info h3 { font-family: var(--font-d); font-size: clamp(22px, 3vw, 34px); font-weight: 600; margin-bottom: 14px; }
.map-address { font-size: 14.5px; line-height: 1.9; color: var(--taupe); margin-bottom: 26px; white-space: pre-line; }
.map-buttons { display: flex; flex-direction: column; gap: 11px; }
.map-btn { display: block; padding: 13px 20px; border-radius: 50px; font-size: 13px; font-weight: 600; text-decoration: none; text-align: center; color: #fff; }
.map-google { background: #4285f4; }
.map-waze { background: #33ccff; color: #1a1a2e !important; }
.map-apple { background: var(--espresso); }

.contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contato-item { margin-bottom: 18px; }
.contato-label { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe); margin-bottom: 3px; }
.contato-value { font-size: 14px; white-space: pre-line; }
.contato-form { display: flex; flex-direction: column; gap: 14px; }
.form-input { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); border-radius: 12px; padding: 13px 17px; color: var(--cream); font: 13.5px var(--font-b); outline: none; }
.form-input:focus { border-color: rgba(133,106,87,.55); }
textarea.form-input { resize: vertical; min-height: 110px; }

footer { background: #160f0a; color: rgba(224,215,206,.45); padding: 44px 0 28px; text-align: center; }
.footer-nav { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-bottom: 28px; list-style: none; }
.footer-nav a { color: rgba(224,215,206,.45); text-decoration: none; font-size: 12.5px; }
.footer-copy { font-size: 11.5px; line-height: 1.7; }
.admin-link { color: rgba(224,215,206,.18); font-size: 11px; text-decoration: none; display: inline-block; margin-top: 14px; }

/* RESPONSIVO */
@media (max-width: 900px) {
  .nav-links li:not(:last-child) { display: none; }
  .sobre-grid, .map-grid, .contato-grid, .dr-grid { grid-template-columns: 1fr; }
  .dr-photo { max-width: 260px; }
  .team-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .post-layout { grid-template-columns: 1fr; }
  .archive { position: static; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .team-grid, .blog-grid { grid-template-columns: 1fr; }
  .sobre-features { grid-template-columns: 1fr; }
  .modal-content { padding: 22px; }
}
