/* Estilos compartilhados das páginas internas: Áreas de atuação, Missão, Contato e Nosso escritório. */
:root {
  --gold: #b9a05c;
  --brown: #51473e;
  --green: #3f7652;
  --gray-bg: #dedede;
  --body-serif: Georgia, "Times New Roman", serif;
}

.inner-page { color: var(--brown); }
.inner-page:not(.about-page) { background: #fff; }
.inner-page .brand,
.inner-page .brand-name,
.inner-page .brand-subtitle { color: var(--cream); }

/* Faixa de título com imagem */
.page-banner { position: relative; overflow: hidden; background: #3e3d3e center / cover no-repeat; }
.page-banner .banner-title { position: absolute; margin: 0; display: flex; align-items: center; justify-content: center; color: #fff; font: 700 clamp(30px, 4.4vw, 56px)/1.1 var(--serif); text-align: center; }

/* Rodapé */
.site-footer { height: 100px; display: grid; place-items: center; background: var(--olive); color: #fff; font: 14px var(--body-serif); text-align: center; padding: 0 16px; }

/* Ícones sociais genéricos */
.social-row { display: flex; align-items: center; gap: 14px; }
.social-row a, .social-row span { display: inline-flex; width: 21px; height: 21px; align-items: center; justify-content: center; color: inherit; }
.social-row svg { width: 18px; height: 18px; fill: currentColor; }
.social-row .wa svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.whatsapp-pill { display: inline-flex; align-items: center; justify-content: center; gap: 14px; border-radius: 50px; color: #fff; text-decoration: none; text-transform: uppercase; font: 300 15px var(--sans); letter-spacing: 3.75px; transition: filter .2s, transform .2s; }
.whatsapp-pill:hover { filter: brightness(1.1); transform: translateY(-1px); }
.whatsapp-pill svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Áreas de atuação ---------- */
.areas-banner { height: 343px; background-image: url("assets/banner-areas.jpg"); }
.areas-banner .banner-title { left: 48px; top: 208px; width: 692px; height: 134px; justify-content: flex-start; padding-left: 51px; background: rgba(109,71,55,.76); font-size: clamp(30px, 3.9vw, 50px); font-weight: 600; }
.areas-list { background: #d8d8d8; padding: 102px 24px 10px; }
.areas-grid { width: min(921px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 424px)); justify-content: space-between; gap: 75px 72px; }
.area-card { background: #fff; padding: 22px 20px 112px; }
.area-card h2 { margin: 0; padding-bottom: 11px; border-bottom: 2px solid #6d4737; color: var(--gold); font: 600 20px var(--serif); }
.area-icon { display: block; width: 132px; height: 132px; margin: 30px auto 0; color: #6d4737; }
.area-photo { display: block; width: 100%; aspect-ratio: 380 / 347; margin-top: 38px; object-fit: cover; }
.areas-contact { background: #666; color: #fff; padding: 57px 24px 84px; }
.areas-contact-inner { width: min(948px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1fr 310px; gap: 40px; align-items: start; }
.areas-contact h3 { margin: 0 0 18px 13px; color: var(--gold); font: 600 16px var(--serif); }
.areas-contact .mail { display: block; margin-bottom: 52px; color: #fff; text-decoration: none; font: 12px var(--body-serif); }
.areas-contact .social-row { margin: 0 0 76px 13px; }
.areas-contact .whatsapp-pill { width: 343px; max-width: 100%; height: 105px; background: var(--green); }
.map-box { width: 100%; height: 320px; margin-top: 54px; background: #e5e3df; }
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Missão ---------- */
.missao-banner { height: 381px; background-image: url("assets/banner-missao.jpg"); background-position: center 35%; }
.missao-banner .banner-title { left: 150px; top: 270px; width: 600px; height: 111px; background: rgba(61,61,61,.78); }
.missao-body { padding: 113px 24px 60px; text-align: center; }
.missao-block { width: min(600px, 100%); margin: 0 auto 92px; }
.missao-icon { display: block; margin: 0 auto 37px; }
.missao-label { margin: 0 0 32px; color: var(--olive); font: 300 32px/1.4 var(--sans); letter-spacing: 6.4px; text-transform: uppercase; }
.missao-text { margin: 0; text-align: justify; font: 500 17px/1.45 var(--body-serif); color: var(--brown); }
.valores-list { margin: 0; padding: 0; list-style: none; font: 500 19px/1.4 var(--body-serif); color: var(--brown); }
.visao-label { width: min(442px, 100%); margin-inline: auto; }
.visao-grid { width: min(1146px, 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 340px); justify-content: space-between; gap: 48px; text-align: left; }
.visao-text { font: 500 19px/1.48 var(--body-serif); letter-spacing: .95px; text-align: justify; color: var(--brown); }
.visao-text p { margin: 0 0 22px; }
.visao-text p:first-child::first-letter { font-size: 33px; }
.visao-text .closing { font-size: 23px; font-weight: 700; letter-spacing: 1.15px; }
.visao-quote { position: relative; margin: 60px 0 0; padding: 42px 0 64px 28px; color: var(--brown); font: 400 24px/1.2 var(--sans); letter-spacing: 1.2px; }
.visao-quote::before, .visao-quote::after { position: absolute; color: #7f7a76; font: 700 140px/1 var(--serif); }
.visao-quote::before { content: "\201C"; left: -2px; top: -22px; }
.visao-quote::after { content: "\201D"; right: 0; bottom: -78px; }
.missao-contact { padding: 150px 24px 120px; text-align: center; }
.missao-contact h2 { margin: 0 0 22px; color: var(--gold); font: 700 56px/1.2 var(--serif); }
.missao-contact .social-row { justify-content: center; gap: 8px; color: #111; }
.missao-form { width: min(649px, 100%); margin: 44px auto 0; display: grid; grid-template-columns: 300px 316px; justify-content: space-between; gap: 16px 33px; text-align: left; }
.missao-form .col { display: grid; gap: 18px; align-content: start; }
.missao-form label { display: grid; gap: 7px; color: #222; font: 300 14px var(--sans); }
.missao-form input, .missao-form textarea { width: 100%; height: 37px; padding: 6px 10px; border: 1px solid #222; border-radius: 0; background: #fff; color: #111; font: 14px var(--sans); }
.missao-form textarea { height: 197px; resize: vertical; }
.missao-form .actions { grid-column: 2; display: grid; justify-items: end; gap: 8px; }
.missao-form button { width: 139px; height: 36px; border: 0; background: var(--gold); color: #fff; font: 300 14px var(--sans); cursor: pointer; }
.missao-form button:hover { filter: brightness(1.08); }

/* ---------- Contato ---------- */
.contato-banner { height: 401px; }
.contato-banner .banner-title { left: 50%; top: 127px; width: 374px; height: 140px; transform: translateX(-34%); background: rgba(109,71,55,.72); color: #9baa75; font-weight: 600; }
.contato-info { width: min(1000px, 100%); margin: 0 auto; padding: 74px 24px 0; display: grid; grid-template-columns: 1.04fr 1fr .74fr; gap: 24px; color: #000; }
.contato-info h2 { margin: 0 0 26px; font: 500 26px var(--serif); }
.contato-info p, .contato-info a { margin: 0; color: #000; text-decoration: none; font: 500 16px/1.9 var(--body-serif); }
.contato-info .gap { display: block; height: 20px; }
.hours { display: grid; grid-template-columns: auto auto; gap: 4px 14px; font: 16px/1.9 var(--body-serif); }
.hours dt { margin: 0; } .hours dd { margin: 0; color: #6f6b67; }
.hours .spacer { grid-column: 1 / -1; height: 28px; }
.contato-bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 52px; align-items: start; padding: 166px 0 110px 0; }
.contato-form { width: min(524px, 100%); justify-self: end; padding-left: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.contato-form label { display: grid; gap: 4px; color: #222; font: 300 14px var(--sans); }
.contato-form .full { grid-column: 1 / -1; }
.contato-form input, .contato-form textarea { width: 100%; height: 34px; padding: 4px 2px; border: 0; border-bottom: 1px solid #222; border-radius: 0; background: transparent; color: #111; font: 15px var(--sans); }
.contato-form textarea { height: 64px; resize: vertical; }
.contato-form input:focus, .contato-form textarea:focus { outline: none; border-bottom-color: var(--olive); }
.contato-form button { width: 174px; height: 44px; border: 0; background: var(--olive); color: #fff; font: 300 14px var(--sans); cursor: pointer; }
.contato-map { height: 432px; background: #e5e3df; }
.contato-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Nosso escritório ---------- */
.inner-page.escritorio-page { background: #dedede; }
.escritorio-banner { height: 346px; background-image: url("assets/banner-escritorio.jpg"); background-position: center 40%; }
.escritorio-banner .banner-title { left: 164px; bottom: 16px; padding: 0 24px; height: 130px; background: rgba(61,61,61,.72); justify-content: flex-start; font-weight: 600; }
.gallery { width: min(980px, 100%); margin: 0 auto; padding: 80px 24px 100px; display: grid; gap: 20px; }
.gallery img { display: block; width: min(760px, 100%); aspect-ratio: 19 / 10; object-fit: cover; }
.gallery img:nth-child(even) { justify-self: end; }

/* ---------- Seção de áreas da página inicial ---------- */
.hero-content { width: min(1240px, 100%); }
.home-areas { position: relative; width: min(1240px, 100%); margin-top: 170px; text-align: center; }
.home-areas h2 { text-shadow: 0 2px 14px rgba(0,0,0,.55); margin: 0 0 86px; color: var(--gold); font: 600 clamp(30px, 4vw, 50px)/1.2 var(--serif); }
.home-areas-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 240px)); justify-content: space-between; gap: 24px; }
.home-area { display: grid; justify-items: center; gap: 20px; padding: 24px 12px 34px; background: rgba(66,58,52,.68); color: #fff; font: 18px var(--body-serif); }
.home-area svg { width: 118px; height: 118px; color: #fff; }
.home-areas .whatsapp-pill { width: 396px; max-width: 100%; height: 65px; margin-top: 160px; background: var(--olive); }

@media (max-width: 1100px) {
  .missao-banner .banner-title { left: 6%; width: min(600px, 88%); }
  .escritorio-banner .banner-title { left: 6%; }
  .areas-banner .banner-title { left: 4%; width: min(692px, 92%); }
  .visao-grid { grid-template-columns: minmax(0, 1fr); }
  .visao-quote { width: min(360px, 100%); justify-self: center; }
  .home-areas-grid { grid-template-columns: repeat(2, minmax(0, 240px)); justify-content: center; }
}
@media (max-width: 800px) {
  .areas-banner, .missao-banner, .escritorio-banner { height: 240px; }
  .contato-banner { height: 260px; }
  .areas-banner .banner-title { top: auto; bottom: 0; height: 96px; padding-left: 24px; }
  .missao-banner .banner-title { top: auto; bottom: 0; height: 88px; }
  .contato-banner .banner-title { top: auto; bottom: 0; transform: translateX(-50%); width: min(300px, 80%); height: 96px; }
  .escritorio-banner .banner-title { height: 88px; }
  .areas-grid { grid-template-columns: minmax(0, 424px); justify-content: center; gap: 32px; }
  .area-card { padding-bottom: 40px; }
  .areas-contact-inner { grid-template-columns: minmax(0, 1fr); }
  .areas-contact .whatsapp-pill { height: 72px; }
  .map-box { margin-top: 0; }
  .missao-body { padding-top: 72px; }
  .missao-label { font-size: 26px; letter-spacing: 4px; }
  .missao-form { grid-template-columns: minmax(0, 1fr); }
  .missao-form .actions { grid-column: 1; }
  .missao-contact { padding: 70px 20px 80px; }
  .missao-contact h2 { font-size: 42px; }
  .contato-info { grid-template-columns: minmax(0, 1fr); padding-top: 48px; gap: 34px; }
  .contato-bottom { grid-template-columns: minmax(0, 1fr); padding: 60px 0 0; gap: 48px; }
  .contato-form { justify-self: center; padding: 0 24px; }
  .contato-map { height: 300px; }
  .gallery { padding: 40px 16px 60px; gap: 16px; }
  .gallery img { width: 100%; }
  .home-areas { margin-top: 90px; }
  .home-areas h2 { margin-bottom: 40px; }
  .home-areas .whatsapp-pill { margin-top: 70px; }
}
@media (max-width: 520px) {
  .home-areas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .home-area svg { width: 84px; height: 84px; }
  .home-area { font-size: 15px; }
  .home-areas .whatsapp-pill { height: 58px; font-size: 13px; letter-spacing: 2.5px; }
  .visao-text { font-size: 16px; letter-spacing: .4px; }
  .missao-text, .valores-list { font-size: 16px; }
  .contato-form { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Animações ---------- */
.motion-ready [data-reveal] { opacity: 0; transition: opacity .9s ease var(--d, 0s), translate 1s cubic-bezier(.2,.75,.25,1) var(--d, 0s), scale 1s cubic-bezier(.2,.75,.25,1) var(--d, 0s); }
.motion-ready [data-reveal="up"] { translate: 0 48px; }
.motion-ready [data-reveal="left"] { translate: -80px 0; }
.motion-ready [data-reveal="right"] { translate: 80px 0; }
.motion-ready [data-reveal="zoom"] { scale: .9; }
.motion-ready [data-reveal].is-visible { opacity: 1; translate: 0 0; scale: 1; }
@keyframes banner-in { from { filter: brightness(.35) saturate(.6); } }
@keyframes title-in { from { opacity: 0; translate: -50px 0; } }
.page-banner { animation: banner-in 1.6s ease both; }
.page-banner .banner-title { animation: title-in 1s .25s cubic-bezier(.2,.75,.25,1) both; }
.area-card, .gallery img, .home-area { transition: box-shadow .35s ease, translate .35s ease; }
.area-card:hover { box-shadow: 0 18px 40px rgba(0,0,0,.14); }
.area-card .area-photo { transition: scale .6s ease; }
.area-card:hover .area-photo { scale: 1.03; }
.gallery img:hover { box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.main-nav a { position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--olive); scale: 0 1; transition: scale .3s ease; }
.main-nav a:hover::after, .main-nav a.active::after { scale: 1 1; }
@media (max-width: 520px) {
  .motion-ready [data-reveal="left"] { translate: -36px 0; }
  .motion-ready [data-reveal="right"] { translate: 36px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .motion-ready [data-reveal] { opacity: 1; translate: none; scale: none; transition: none; }
  .page-banner, .page-banner .banner-title { animation: none; }
}

/* =========================================================
   Paleta quente: faixas creme e grafite intercaladas
   ========================================================= */
:root { --cream-bg: #f3eee4; --cream-deep: #e8e0d0; --ink: #2f2d2e; --on-dark: #efe9df; --on-dark-soft: #c9c1b4; --olive-light: #b3c28a; }
.inner-page:not(.about-page) { background: var(--cream-bg); }
.band-cream { background: var(--cream-bg); color: var(--brown); }
.band-dark { background: var(--ink); color: var(--on-dark); }

/* Sobre */
.about-page, .about-content { background: var(--cream-bg); }
.about-copy { color: var(--brown); }
.profile-card { background: #3e3d3e; box-shadow: 0 24px 50px rgba(30,25,20,.25); }
.profile-contact-item strong, .profile-social > strong { color: var(--gold); }

/* Missão */
.missao-body { padding: 104px 24px; }
.missao-body .missao-block { margin-bottom: 0; }
.visao-band { background: var(--cream-deep); color: var(--brown); }
.visao-band .missao-block { margin-bottom: 64px !important; }
.band-dark .valores-list { color: var(--on-dark); }
.band-dark .missao-label { color: var(--olive-light); }
.band-dark .missao-icon path:last-child { fill: var(--gold); }
.missao-contact.band-dark .social-row { color: var(--on-dark); }
.missao-contact.band-dark .missao-form label { color: var(--on-dark-soft); }
.missao-contact.band-dark .missao-form input,
.missao-contact.band-dark .missao-form textarea { border-color: transparent; background: #f7f3ec; }
.missao-contact.band-dark .missao-form input:focus,
.missao-contact.band-dark .missao-form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }

/* Contato */
.contato-band { padding-bottom: 84px; }
.contato-band .contato-info { color: var(--on-dark); }
.contato-band .contato-info h2 { color: var(--gold); }
.contato-band .contato-info p, .contato-band .contato-info a, .contato-band .hours dt { color: var(--on-dark); }
.contato-band .hours dd { color: var(--on-dark-soft); }
.contato-bottom.band-cream { padding-top: 110px; }
.contato-bottom .contato-form input, .contato-bottom .contato-form textarea { border-bottom-color: var(--brown); }
.contato-bottom .contato-form label { color: var(--brown); }

/* Nosso escritório */
.inner-page.escritorio-page { background: var(--ink); }
.escritorio-intro { padding: 44px 24px; text-align: center; }
.escritorio-intro p { margin: 0; font: 600 20px var(--serif); color: var(--brown); letter-spacing: .3px; }
.gallery img { box-shadow: 0 20px 44px rgba(0,0,0,.35); }

/* Áreas de atuação */
.areas-intro { padding: 72px 24px 64px; text-align: center; }
.areas-intro p { width: min(640px, 100%); margin: 0 auto; font: 18px/1.6 var(--body-serif); color: var(--brown); }
.areas-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.areas-jump a { padding: 9px 20px; border: 1px solid var(--olive); border-radius: 999px; color: var(--brown); text-decoration: none; font: 500 14px var(--sans); transition: background .25s, color .25s; }
.areas-jump a:hover, .areas-jump a:focus-visible { background: var(--olive); color: #fff; }
html { scroll-padding-top: 24px; }
.area-row { padding: 104px 24px; }
.area-row-inner { width: min(1060px, 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.area-row.flip .area-figure { order: 2; }
.area-figure { position: relative; margin: 0; }
.area-figure img { display: block; width: 100%; aspect-ratio: 560 / 511; object-fit: cover; box-shadow: 0 26px 50px rgba(20,16,12,.28); }
.area-badge { position: absolute; right: -30px; bottom: -30px; width: 104px; height: 104px; display: grid; place-items: center; border-radius: 50%; background: var(--olive); color: #fff; box-shadow: 0 10px 26px rgba(0,0,0,.25); }
.area-row.flip .area-badge { right: auto; left: -30px; }
.area-badge svg { width: 78px; height: 78px; }
.area-kicker { margin: 0 0 12px; color: var(--olive); font: 600 13px var(--sans); letter-spacing: 2.6px; text-transform: uppercase; }
.band-dark .area-kicker { color: var(--olive-light); }
.area-copy h2 { margin: 0 0 18px; font: 700 clamp(26px, 3vw, 36px)/1.15 var(--serif); text-wrap: balance; }
.band-cream .area-copy h2 { color: #3b302a; }
.area-lead { margin: 0 0 26px; font: 17px/1.6 var(--body-serif); }
.band-dark .area-lead { color: var(--on-dark-soft); }
.area-list-title { margin: 0 0 12px; color: var(--gold); font: 700 12px var(--sans); letter-spacing: 2px; text-transform: uppercase; }
.area-list { margin: 0 0 32px; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; font: 15.5px/1.45 var(--body-serif); }
.area-list li { position: relative; padding-left: 20px; }
.area-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; background: var(--gold); rotate: 45deg; }
.area-cta { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; background: var(--green); color: #fff; text-decoration: none; font: 600 15px var(--sans); transition: filter .2s, translate .2s; }
.area-cta:hover { filter: brightness(1.12); translate: 0 -2px; }
.area-cta svg, .wa-float svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.areas-contact.band-dark { background: #3e3d3e; }

/* Botão flutuante de WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px 13px 16px; border-radius: 999px; background: #25d366; color: #fff; text-decoration: none; font: 600 15px var(--sans); box-shadow: 0 10px 28px rgba(0,0,0,.28); transition: translate .2s, box-shadow .2s; }
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { translate: 0 -3px; box-shadow: 0 14px 32px rgba(0,0,0,.32); }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37,211,102,.55); animation: wa-pulse 2.6s ease-out infinite; }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } }

@media (max-width: 860px) {
  .area-row { padding: 72px 20px; }
  .area-row-inner { grid-template-columns: minmax(0, 1fr); gap: 52px; }
  .area-row.flip .area-figure { order: 0; }
  .area-figure { width: min(440px, 100%); justify-self: center; }
  .area-badge { width: 84px; height: 84px; right: -12px; bottom: -24px; }
  .area-row.flip .area-badge { left: auto; right: -12px; }
  .area-badge svg { width: 62px; height: 62px; }
  .missao-body { padding: 72px 20px; }
}
@media (max-width: 560px) {
  .area-list { grid-template-columns: minmax(0, 1fr); }
  .wa-float { padding: 15px; right: 16px; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .wa-float::after { animation: none; } }

/* Sobre: coluna de texto mais larga e legível */
@media (min-width: 801px) {
  .about-content { padding-bottom: 90px; }
  .about-layout { width: min(960px, 100%); grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; }
  .about-copy { padding-top: 56px; font-size: 17px; line-height: 1.7; }
  .about-copy p { margin-bottom: 24px; }
  .profile-card { width: 300px; margin-top: 200px; padding: 150px 30px 26px; font-size: 14px; }
  .profile-photo { top: -170px; left: 30px; width: 220px; height: 300px; box-shadow: 0 18px 36px rgba(0,0,0,.3); }
  .profile-details h2 { font-size: 17px; }
  .profile-contact-item strong, .profile-social > strong { font-size: 12px; }
  .profile-contact-item a { font-size: 13px; }
}
@media (max-width: 800px) { .profile-card { padding-top: 140px; } }

/* Sobre v2: foto ao lado do texto, caixa de informações embaixo */
.about-content { padding: 0 24px 96px; }
.about2 { width: min(1000px, 100%); margin: 0 auto; padding-top: 72px; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px 64px; align-items: start; }
.about2-photo { position: relative; margin: 0; }
.about2-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--gold); z-index: 0; }
.about2-photo img { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 800 / 1314; object-fit: cover; object-position: center top; box-shadow: 0 22px 44px rgba(30,25,20,.28); }
.about2-photo figcaption { position: relative; z-index: 1; margin-top: 26px; padding: 0 0 4px 38px; color: #3b302a; font: 700 18px var(--serif); }
.about2-photo figcaption span { display: block; margin-top: 4px; color: var(--olive); font: 600 13px var(--sans); letter-spacing: 1.6px; }
.about2-kicker { margin: 0 0 14px !important; color: var(--olive); font: 600 13px var(--sans) !important; letter-spacing: 2.6px; text-transform: uppercase; }
.about2-copy { color: var(--brown); font: 18px/1.75 var(--body-serif); }
.about2-copy p { margin: 0 0 22px; }
.about2-copy p:nth-of-type(2) { font-size: 21px; line-height: 1.6; color: #3b302a; }
.about2-card { grid-column: 1 / -1; margin-top: 40px; display: grid; grid-template-columns: 1.1fr 1fr 1.3fr; gap: 40px; padding: 40px; background: #3e3d3e; color: var(--on-dark); box-shadow: 0 24px 50px rgba(30,25,20,.22); font: 15px/1.5 var(--body-serif); }
.about2-card h2 { margin: 0 0 4px; color: #fff; font: 700 22px var(--serif); }
.about2-card p { margin: 0 0 12px; color: var(--on-dark-soft); }
.about2-card .about2-oab { color: var(--gold); font-style: italic; }
.about2-card h3 { margin: 0 0 4px; color: var(--gold); font: 700 12px var(--sans); letter-spacing: 1.8px; text-transform: uppercase; }
.about2-card h3:not(:first-child) { margin-top: 18px; }
.about2-card a { color: var(--on-dark); text-decoration: none; }
.about2-card a:hover { text-decoration: underline; }
.about2-card .profile-social > div { margin-top: 8px; }
.about2-card .profile-social a, .about2-card .profile-social span { width: 20px; height: 20px; }
.about2-card .profile-social svg { width: 17px; height: 17px; }
.about2-map { min-height: 200px; background: #2f2d2e; }
.about2-map iframe { width: 100%; height: 100%; min-height: 200px; border: 0; display: block; }
@media (max-width: 860px) {
  .about2 { grid-template-columns: clamp(150px, 34%, 240px) minmax(0, 1fr); gap: 24px 32px; padding-top: 48px; }
  .about2-copy { font-size: 16.5px; }
  .about2-copy p:nth-of-type(2) { font-size: 18px; }
  .about2-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 28px 24px; gap: 24px; margin-top: 24px; }
  .about2-map { grid-column: 1 / -1; }
}
/* Celular: a foto continua ao lado, e o texto contorna a foto */
@media (max-width: 560px) {
  .about2 { display: block; padding-top: 36px; }
  .about2-photo { float: left; width: 44%; margin: 4px 22px 14px 0; }
  .about2-photo::before { inset: 10px -10px -10px 10px; }
  .about2-photo figcaption { margin-top: 16px; padding: 0 0 2px 22px; font-size: 14px; }
  .about2-photo figcaption span { font-size: 11px; letter-spacing: 1px; }
  .about2-copy { font-size: 15.5px; line-height: 1.65; }
  .about2-copy p:nth-of-type(2) { font-size: 16.5px; }
  .about2-card { clear: both; grid-template-columns: minmax(0, 1fr); margin-top: 36px; }
}

/* =========================================================
   Clara: assistente virtual
   ========================================================= */
.clara-avatar { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--olive); color: #fff; font: 700 21px var(--serif); box-shadow: inset 0 0 0 2px rgba(255,255,255,.35), 0 0 0 2px var(--gold); }
.clara-launcher { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 70; display: inline-flex; align-items: center; gap: 12px; padding: 8px 20px 8px 8px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; text-align: left; cursor: pointer; box-shadow: 0 12px 30px rgba(0,0,0,.32); transition: translate .2s, opacity .2s; }
.clara-launcher:hover { translate: 0 -3px; }
.clara-launcher strong { display: block; font: 600 15px var(--sans); }
.clara-launcher small { display: block; color: var(--on-dark-soft); font: 12px var(--sans); }
.clara-launcher::after { content: ""; position: absolute; left: 8px; top: 8px; width: 44px; height: 44px; border-radius: 50%; animation: clara-pulse 2.8s ease-out infinite; pointer-events: none; }
@keyframes clara-pulse { 0% { box-shadow: 0 0 0 0 rgba(185,160,92,.6); } 70%, 100% { box-shadow: 0 0 0 14px rgba(185,160,92,0); } }
.clara-launcher.is-open { opacity: 0; pointer-events: none; }

.clara-panel { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 80; width: min(390px, calc(100vw - 32px)); height: min(620px, calc(100dvh - 40px)); display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: var(--cream-bg); color: var(--brown); box-shadow: 0 30px 70px rgba(0,0,0,.38); opacity: 0; translate: 0 24px; transition: opacity .25s ease, translate .3s cubic-bezier(.2,.75,.25,1); font-family: var(--sans); }
.clara-panel[hidden] { display: none; }
.clara-panel.is-open { opacity: 1; translate: 0 0; }
.clara-head { display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 16px; background: var(--ink); color: #fff; }
.clara-head div { flex: 1; min-width: 0; }
.clara-head strong { display: block; font: 700 17px var(--serif); }
.clara-head small { display: block; color: var(--on-dark-soft); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clara-head button { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--on-dark-soft); cursor: pointer; }
.clara-head button:hover { background: rgba(255,255,255,.1); color: #fff; }
.clara-head svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.clara-log { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 8px; scroll-behavior: smooth; }
.clara-msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font: 14.5px/1.45 var(--sans); animation: clara-in .3s ease both; }
.clara-msg.bot { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; box-shadow: 0 1px 2px rgba(60,50,40,.08); color: #3b302a; }
.clara-msg.user { align-self: flex-end; background: var(--olive); color: #fff; border-bottom-right-radius: 4px; }
.clara-note { display: block; color: #7a6f64; font-size: 12.5px; }
@keyframes clara-in { from { opacity: 0; translate: 0 6px; } }
.clara-dots { display: inline-flex; gap: 4px; padding: 4px 0; }
.clara-dots i { width: 7px; height: 7px; border-radius: 50%; background: #b6aa98; animation: clara-dot 1s infinite ease-in-out; }
.clara-dots i:nth-child(2) { animation-delay: .15s; } .clara-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes clara-dot { 0%, 80%, 100% { opacity: .35; translate: 0 0; } 40% { opacity: 1; translate: 0 -3px; } }
.clara-input { padding: 10px 16px 6px; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid #e3dacb; max-height: 46%; overflow-y: auto; }
.clara-input:empty { display: none; }
.clara-options { display: flex; flex-wrap: wrap; gap: 8px; }
.clara-options button { padding: 9px 14px; border: 1px solid var(--olive); border-radius: 999px; background: #fff; color: #3b302a; font: 500 13.5px var(--sans); text-align: left; cursor: pointer; transition: background .2s, color .2s; }
.clara-options button[aria-pressed="true"] { background: var(--olive); color: #fff; }
@media (hover: hover) { .clara-options button:hover { background: var(--olive); color: #fff; } }
.clara-options.multi button[aria-pressed="true"]::before { content: "✓ "; }
.clara-confirm, .clara-text button[type="submit"] { align-self: flex-end; padding: 10px 20px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 600 14px var(--sans); cursor: pointer; }
.clara-confirm:disabled { opacity: .4; cursor: not-allowed; }
.clara-text { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.clara-text input, .clara-text textarea { flex: 1 1 200px; min-width: 0; padding: 11px 14px; border: 1px solid #d5cab8; border-radius: 12px; background: #fff; color: #222; font: 15px var(--sans); resize: none; }
.clara-text input:focus, .clara-text textarea:focus { outline: 2px solid var(--olive); outline-offset: 0; border-color: transparent; }
.clara-text .shake { animation: clara-shake .35s; }
@keyframes clara-shake { 25% { translate: -4px 0; } 75% { translate: 4px 0; } }
.clara-skip { align-self: center; padding: 6px 10px; border: 0; background: none; color: #7a6f64; font: 13px var(--sans); text-decoration: underline; cursor: pointer; }
.clara-summary { align-self: stretch; margin-top: 4px; padding: 12px 14px; border: 1px dashed var(--gold); border-radius: 12px; background: #fbf8f2; animation: clara-in .3s ease both; }
.clara-summary-title { margin: 0 0 6px; color: var(--gold); font: 700 11px var(--sans); letter-spacing: 1.6px; text-transform: uppercase; }
.clara-summary pre { margin: 0; white-space: pre-wrap; color: #3b302a; font: 13px/1.5 var(--sans); }
.clara-send { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 20px; border-radius: 999px; background: #25d366; color: #fff; text-decoration: none; font: 700 15px var(--sans); }
.clara-send svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.clara-direct { padding: 8px 16px 12px; color: #7a6f64; font: 12px var(--sans); text-align: center; }
@media (max-width: 560px) {
  .clara-launcher { right: 14px; padding: 6px; }
  .clara-launcher-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .clara-launcher::after { left: 6px; top: 6px; }
  .clara-panel { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
}
@media (prefers-reduced-motion: reduce) { .clara-launcher::after, .clara-msg, .clara-dots i { animation: none; } .clara-panel { transition: none; } }

/* =========================================================
   Títulos das páginas: sem caixa, com degradê sobre a foto
   ========================================================= */
.sobre-banner { background-image: url("assets/sobre-biblioteca.jpg"); background-position: center 23%; }
.page-banner { height: 380px; display: flex; align-items: flex-end; }
.page-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24,21,19,.88) 0%, rgba(24,21,19,.62) 38%, rgba(24,21,19,.12) 75%), linear-gradient(0deg, rgba(24,21,19,.55), rgba(24,21,19,0) 55%); }
.page-banner .banner-inner { position: relative; z-index: 1; width: min(1060px, 100%); margin: 0 auto; padding: 0 24px 54px; animation: title-in 1s .2s cubic-bezier(.2,.75,.25,1) both; }
.page-banner .banner-inner::before { content: ""; display: block; width: 56px; height: 3px; margin-bottom: 20px; background: var(--gold); }
.page-banner .banner-title { position: static; inset: auto; width: auto; height: auto; padding: 0; transform: none; display: block; background: none; color: #fff; text-align: left; font: 700 clamp(36px, 5.2vw, 62px)/1.05 var(--serif); letter-spacing: -.5px; animation: none; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.banner-sub { margin: 14px 0 0; color: #e7dfd2; font: 300 clamp(16px, 1.6vw, 19px)/1.4 var(--sans); letter-spacing: .3px; }
@media (max-width: 800px) {
  .page-banner { height: 280px; }
  .page-banner .banner-inner { padding-bottom: 34px; }
  .page-banner::after { background: linear-gradient(0deg, rgba(24,21,19,.85) 0%, rgba(24,21,19,.45) 60%, rgba(24,21,19,.2)); }
}

/* Mapa: cartão com endereço (o mapa do Google entra por cima no site publicado) */
.map-card { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: 28px; min-height: 220px; height: 100%; background-color: #e9e3d6; background-image:
  linear-gradient(120deg, transparent 46%, rgba(255,255,255,.75) 46.5%, rgba(255,255,255,.75) 49%, transparent 49.5%),
  linear-gradient(25deg, transparent 62%, rgba(255,255,255,.6) 62.4%, rgba(255,255,255,.6) 64%, transparent 64.4%),
  repeating-linear-gradient(0deg, transparent 0 38px, rgba(143,159,108,.16) 38px 40px),
  repeating-linear-gradient(90deg, transparent 0 38px, rgba(143,159,108,.16) 38px 40px);
  color: #3b302a; }
.map-pin { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #c0392b; color: #fff; box-shadow: 0 8px 18px rgba(0,0,0,.25); }
.map-pin svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; }
.map-addr { margin: 0; padding: 10px 14px; background: rgba(255,255,255,.9); border-radius: 8px; font: 14px/1.5 var(--sans); }
.map-addr strong { display: block; font: 700 15px var(--serif); }
.map-go { padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff !important; text-decoration: none !important; font: 600 14px var(--sans); }
.map-go:hover { filter: brightness(1.2); }
.map-card .map-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.about2-map, .map-box, .contato-map { background: none; }
.about2-map .map-card { min-height: 240px; }

/* Contato: foto real do Bruno no topo */
.contato-banner { background-image: url("assets/bruno-escritorio.jpg"); background-position: 60% 15%; }
@media (max-width: 800px) { .contato-banner { background-position: 72% 20%; } }

/* Áreas: bloco final de contato */
.areas-contact { padding: 104px 24px; }
.areas-contact.band-dark { background: var(--ink); }
.areas-contact .areas-contact-inner { width: min(1060px, 100%); grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: stretch; }
.cta-copy h2 { margin: 0 0 14px; color: #fff; font: 700 clamp(28px, 3.2vw, 40px)/1.12 var(--serif); text-wrap: balance; }
.cta-copy .area-kicker { color: var(--olive-light); }
.cta-lead { margin: 0 0 34px; color: var(--on-dark-soft); font: 17px/1.6 var(--body-serif); }
.cta-list { margin: 0 0 36px; padding: 0; list-style: none; display: grid; gap: 20px; }
.cta-list li { display: flex; align-items: center; gap: 16px; }
.cta-ico { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(185,160,92,.55); border-radius: 50%; color: var(--gold); }
.cta-ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cta-list small { display: block; margin-bottom: 2px; color: var(--gold); font: 600 11px var(--sans); letter-spacing: 1.8px; text-transform: uppercase; }
.cta-list a, .cta-list span:not(.cta-ico) { color: var(--on-dark); text-decoration: none; font: 16px var(--body-serif); }
.cta-list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; }
.cta-actions .social-row { margin: 0; gap: 10px; color: var(--on-dark-soft); }
.cta-actions .social-row a, .cta-actions .social-row span { width: 38px; height: 38px; border: 1px solid rgba(239,233,223,.22); border-radius: 50%; transition: border-color .2s, color .2s; }
.cta-actions .social-row a:hover { border-color: var(--gold); color: var(--gold); }
.cta-actions .social-row svg { width: 16px; height: 16px; }
.cta-map { height: auto; min-height: 440px; margin-top: 0; overflow: hidden; border-radius: 14px; box-shadow: 0 30px 60px rgba(0,0,0,.4); outline: 1px solid rgba(185,160,92,.35); outline-offset: 8px; }
.cta-map .map-card { height: 100%; min-height: 440px; border-radius: 14px; }
@media (max-width: 860px) {
  .areas-contact { padding: 72px 20px; }
  .areas-contact .areas-contact-inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .cta-map, .cta-map .map-card { min-height: 320px; }
  .cta-map { outline-offset: 5px; }
}

/* =========================================================
   Faixa do topo e cabeçalho refinados
   ========================================================= */
.topbar { height: 44px; background: #232122; color: #d9d1c3; border-bottom: 1px solid rgba(185,160,92,.4); font: 500 12.5px var(--sans); letter-spacing: .5px; }
.topbar-inner { max-width: 1060px; padding: 0 24px; }
.top-left { display: flex; align-items: center; gap: 30px; }
.top-loc, .top-phone { display: inline-flex; align-items: center; gap: 9px; color: #d9d1c3; text-decoration: none; opacity: 1; }
.top-phone:hover { color: #fff; }
.top-loc svg, .top-phone svg { width: 15px; height: 15px; }
.top-loc svg { fill: none; stroke: var(--gold); stroke-width: 1.7; }
.top-phone svg { fill: var(--gold); }
.topbar .social-links { gap: 10px; }
.topbar .social-links a { width: 28px; height: 28px; border: 1px solid rgba(239,233,223,.22); border-radius: 50%; color: #d9d1c3; transition: border-color .2s, color .2s; }
.topbar .social-links a:hover { border-color: var(--gold); color: var(--gold); }
.topbar .social-links svg { width: 13px; height: 13px; fill: currentColor; }
.site-header { height: auto; padding-bottom: 22px; }
.brand { margin-top: 26px; }
.brand-mark { height: 78px; }
.brand-name { margin-top: 16px; }
@media (max-width: 640px) {
  .top-loc { display: none; }
}
@media (max-width: 520px) {
  .topbar { height: 40px; }
  .brand { margin-top: 20px; }
  .brand-mark { height: 64px; }
  .brand-name { margin-top: 12px; }
}
