/* Lisboa Junior 2026 — preview only */
:root{--clr-dark:#183e62;--clr-dark-alt:#244e72;--clr-dark-deep:#112b44;--clr-gold:#c6a15e;--clr-gold-light:#e1c995;--clr-gray-bg:#f7f8f7;--clr-gray-text:#526477;--font-heading:'Playfair Display',Georgia,serif}
body{background:#fff;color:#172d43;-webkit-font-smoothing:antialiased}
.container{max-width:1240px;padding-left:clamp(22px,5vw,64px);padding-right:clamp(22px,5vw,64px)}
.header{background:rgba(255,255,255,.97)!important;box-shadow:0 2px 20px rgba(18,42,62,.07)!important;backdrop-filter:blur(14px)}
.header-container{min-height:94px}
.header .logo img{max-height:86px;width:auto;object-fit:contain}
.nav-menu a{font-size:.76rem!important;letter-spacing:.085em;font-weight:600}
.nav-menu a:hover{color:#b28b49}
.hero{min-height:680px!important;background:linear-gradient(100deg,rgba(13,39,61,.94) 0%,rgba(22,55,81,.82) 48%,rgba(25,51,74,.2) 100%),url('img/biblioteca-juridica.jpg') center/cover no-repeat!important;display:flex;align-items:center}
.hero-overlay{background:transparent!important}
.hero-content{text-align:left!important;position:relative;max-width:1240px}
.hero h1{font-size:clamp(2.8rem,5.3vw,5.4rem)!important;line-height:1.12!important;letter-spacing:-.035em;max-width:850px}
.hero h1 span{color:#e1c995}
.hero p{font-size:clamp(1rem,1.5vw,1.25rem)!important;color:#edf2f5!important;max-width:620px}
.btn{border-radius:3px!important;padding:16px 26px!important;letter-spacing:.06em;font-size:.78rem!important}
.btn-primary{background:#c6a15e!important;color:#132c43!important}
section:not(.hero){scroll-margin-top:90px}
.sobre,.areas,.depoimentos,.diferenciais,.missao-valores{padding-top:100px!important;padding-bottom:100px!important}
.sobre{background:#fff}
.sobre-image img{border-radius:3px!important;box-shadow:22px 22px 0 #f0ede6;object-fit:cover}
.section-tag{letter-spacing:.18em!important;color:#b08b4d!important}
h2{font-size:clamp(2rem,3.6vw,3.5rem)!important;line-height:1.15!important;letter-spacing:-.025em}
.areas,.diferenciais{background:#f6f8f9!important}
.cards-grid{gap:22px!important}
.card,.review-card,.mv-card{border:1px solid #e6e9ec!important;border-radius:5px!important;box-shadow:0 12px 35px rgba(20,47,67,.04)!important;transition:transform .2s,box-shadow .2s}
.card:hover,.review-card:hover{transform:translateY(-5px);box-shadow:0 16px 40px rgba(20,47,67,.1)!important}
.card-number{color:#c6a15e!important}
.footer{background:#122f49!important}
.footer a:hover{color:#e1c995}
.whatsapp-float{width:58px!important;height:58px!important;animation:none!important;box-shadow:0 9px 25px rgba(0,0,0,.18)!important}
.team-access{display:inline-flex;align-items:center;gap:7px;font-size:.8rem;opacity:.8;border:1px solid rgba(255,255,255,.35);padding:10px 14px;border-radius:3px;margin-top:15px}
.team-access:hover{opacity:1;color:#fff!important;border-color:#c6a15e}
@media(max-width:768px){.header-container{min-height:72px}.header .logo img{max-height:62px}.hero{min-height:620px!important;background-position:60% center!important}.hero h1{font-size:2.65rem!important}.sobre,.areas,.depoimentos,.diferenciais,.missao-valores{padding-top:65px!important;padding-bottom:65px!important}.hero-content{text-align:left!important}}

/* Contrast correction — mobile screenshot review, 2026-11-03 */
.areas{background:linear-gradient(135deg,#153b5d 0%,#244f74 56%,#102b45 100%)!important}
.areas h2,.areas .card h3{color:#fff!important}
.areas .section-description{color:#e1eaf0!important}
.areas .card{background:#fff!important;border:1px solid #d9e3ea!important;backdrop-filter:none!important;box-shadow:0 14px 34px rgba(4,22,40,.14)!important}
.areas .card h3{color:#183b5c!important}
.areas .card ul li,.areas .card p{color:#42576a!important}
.areas .card .card-number{color:#a17a37!important}
.areas .card a{color:#194d78!important}
.areas .card-icon{background:#e9d5a8!important}
.areas .card-icon i{color:#19476b!important}
.areas .card:hover{box-shadow:0 20px 45px rgba(4,22,40,.22)!important}
@media(max-width:768px){.areas .cards-grid{grid-template-columns:minmax(0,1fr)!important}.areas .card{padding:26px!important}.areas .section-description{color:#e7edf2!important}}
/* Diferenciais: restore contrast on blue section */
.diferenciais{background:linear-gradient(135deg,#153b5d 0%,#244f74 55%,#102b45 100%)!important;color:#fff!important}
.diferenciais h2,.diferenciais .stat-item h3{color:#fff!important}
.diferenciais .stat-item p{color:#e5edf3!important}
.diferenciais .stat-item i{color:#dfbe7d!important}
.diferenciais .stat-item{border:1px solid rgba(255,255,255,.17);background:rgba(255,255,255,.065);border-radius:6px}
@media(max-width:768px){.diferenciais .stats-grid{grid-template-columns:1fr!important}.diferenciais .stat-item{padding:26px!important}}

.image-caption,figcaption{font-size:.75rem;color:#526477;margin-top:10px}.specialty{padding-top:95px}.specialty-intro{background:#f4f6f7;padding:70px 0}.specialty h1{font-family:var(--font-heading);font-size:clamp(2.3rem,5vw,4rem);line-height:1.15;margin:20px 0}.specialty-lead{font-size:1.25rem;max-width:750px}.specialty-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:50px;padding-top:65px;padding-bottom:70px}.specialty-grid h2{font-size:1.65rem!important;margin:28px 0 16px}.specialty-grid p,.specialty-grid li{line-height:1.8;margin-bottom:14px}.specialty-grid ul{padding-left:22px}.specialty-grid img{width:100%;border-radius:5px}.specialty-grid .btn{display:inline-block;margin-top:20px}.areas .cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:768px){.specialty-grid{grid-template-columns:1fr}.specialty{padding-top:72px}}

/* Leitura dos textos institucionais e navegação pelas especialidades. */
.sobre-content > p,
.mv-card > p,
.specialty-grid p {
  text-align: justify;
  hyphens: auto;
}
.areas a.specialty-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.areas a.specialty-card:hover,
.areas a.specialty-card:focus-visible {
  background: #fff8e9 !important;
  border-color: #c6a15e !important;
  transform: translateY(-5px);
}
.areas a.specialty-card:focus-visible {
  outline: 3px solid #e1c995;
  outline-offset: 4px;
}
.specialty-card-action {
  display: block;
  margin-top: auto;
  padding-top: 16px;
  color: #194d78;
  font-weight: 600;
}
.specialty-card:hover .specialty-card-action,
.specialty-card:focus-visible .specialty-card-action {
  text-decoration: underline;
}

.office-location { background: #f6f8f9; padding: clamp(48px, 8vw, 90px) 0; }
.office-location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.office-location h2 { margin: 14px 0; }
.office-location address { font-style: normal; line-height: 1.7; }
.office-location-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.office-review-link { border: 1px solid #183e62; color: #183e62; }
.office-review-link:hover, .office-review-link:focus-visible { background: #183e62; color: #fff; }
.office-location iframe { display: block; width: 100%; height: 320px; border: 0; border-radius: 5px; }
@media (max-width: 768px) { .office-location-grid { grid-template-columns: 1fr; } }

/* Dourado luminoso em detalhes e movimento de entrada. */
:root {
  --gold-metal: linear-gradient(115deg, #b68639, #f4dc9b 47%, #ce9e4e);
}
.btn.btn-primary { background: var(--gold-metal) !important; }
.btn { transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.btn:hover, .btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(120, 82, 26, .2);
}
.areas .section-tag, .diferenciais .section-tag { color: #f4dc9b !important; }
.hero-content::before {
  content: "";
  display: block;
  width: 76px;
  height: 2px;
  margin-bottom: 24px;
  background: var(--gold-metal);
}
.hero { position: relative; overflow: hidden; }
.seasonal-ornament {
  position: absolute;
  z-index: 1;
  top: 0;
  right: clamp(20px, 6vw, 96px);
  display: flex;
  gap: clamp(12px, 2.5vw, 38px);
  pointer-events: none;
  color: #f4dc9b;
}
.seasonal-ornament span {
  display: grid;
  justify-items: center;
  font-size: clamp(16px, 3vw, 39px);
  text-shadow: 0 0 16px rgba(244, 220, 155, .65);
  animation: ornament-glow 4s ease-in-out infinite alternate;
}
.seasonal-ornament span::before {
  content: "";
  width: 1px;
  height: 43px;
  background: linear-gradient(transparent, #e1b96d);
}
.seasonal-ornament span:nth-child(2) { animation-delay: -1s; }
.seasonal-ornament span:nth-child(2)::before { height: 69px; }
.seasonal-ornament span:nth-child(3) { animation-delay: -2s; }
@keyframes ornament-glow { from { opacity: .62; } to { opacity: 1; } }
@keyframes section-arrival {
  from { opacity: .35; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-content, .specialty-intro .container, .motion-enter {
    animation: section-arrival .55s ease-out both;
  }
}
@media (prefers-reduced-motion: reduce) {
  .seasonal-ornament span { animation: none; }
  .btn, .areas .card { transition: none; }
}

/* Identidade compartilhada: azul profundo, dourado e superfícies claras */
.hero{position:relative;overflow:hidden;background:linear-gradient(90deg,#102f49 0%,#1b4565 70%,#204969 100%)!important}
.hero-content{min-height:640px;display:flex!important;flex-direction:column;align-items:flex-start;justify-content:center;padding-right:min(39vw,510px)!important}
.hero h1,.hero p{position:relative;z-index:2}
.hero-person{position:absolute;right:2%;bottom:0;width:37%;height:88%;overflow:hidden;border-radius:160px 160px 0 0;border:2px solid rgba(225,201,149,.5);box-shadow:0 0 0 13px rgba(225,201,149,.06)}
.hero-person img{width:100%;height:100%;object-fit:cover;object-position:center 22%;filter:contrast(1.03) saturate(.95)}
.hero .btn{position:relative;z-index:2}
.sobre-image img{width:100%;max-height:620px;object-fit:cover;object-position:center 30%}
.contact-quickbar{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;padding:22px 20px;background:#f6f7f7;border-bottom:1px solid #e7e7e4}
.contact-quickbar a{display:inline-flex;align-items:center;gap:9px;min-height:48px;padding:12px 18px;border:1px solid #d6c8ad;color:#173e60;text-decoration:none;font-size:.86rem;font-weight:650;transition:transform .2s,border-color .2s,background .2s}
.contact-quickbar a:hover{transform:translateY(-2px);border-color:#c6a15e;background:white}
.contact-quickbar .fa-instagram{color:#a33c6c}.contact-quickbar .fa-whatsapp{color:#168a5d}.contact-quickbar .fa-google{color:#c6a15e}
.team-access{display:inline-flex!important;align-items:center;gap:10px;margin:16px 0;padding:14px 20px!important;border:1px solid #c6a15e!important;border-radius:3px!important;background:#173e60!important;color:#fff!important;font-weight:700;text-decoration:none;min-height:48px}
.team-access:hover{background:#245578!important}
@media(max-width:850px){.hero-content{padding-right:clamp(22px,5vw,64px)!important;padding-bottom:280px!important;min-height:690px}.hero-person{width:48%;height:310px;right:5%;bottom:0;border-radius:120px 120px 0 0}.hero h1{font-size:clamp(2.4rem,8vw,4rem)!important}}
@media(max-width:520px){.hero-content{padding-bottom:245px!important}.hero-person{width:62%;height:240px}.hero h1{font-size:2.4rem!important}.contact-quickbar a{width:100%;justify-content:center}}

/* Refinamento final: linhas retas, sem arco em forma de casinha */
.hero-person{border-radius:0!important;box-shadow:none!important;border:0!important;right:2.5%!important;bottom:5%!important;height:80%!important;width:37%!important;overflow:visible!important}
.hero-person:before{content:"";position:absolute;inset:-20px -18px 16px 18px;border:1px solid #c6a15e;pointer-events:none}
.hero-person:after{content:"";position:absolute;right:-29px;top:-32px;width:44%;height:42%;border-top:1px solid #c6a15e;border-right:1px solid #c6a15e;pointer-events:none}
.hero-person img{border-radius:0!important;object-position:center 32%!important;filter:none!important;display:block}
.sobre-image img{object-fit:cover;object-position:center center}
@media(max-width:850px){.hero-person{width:46%!important;height:300px!important;bottom:15px!important;right:7%!important}}
@media(max-width:520px){.hero-person{width:60%!important;height:230px!important;bottom:12px!important;right:8%!important}.hero-person:before{inset:-10px -10px 10px 10px}}

/* Identidade visual: filetes do timbrado e geometria dourada da fachada */
html{scroll-behavior:smooth}
.header{border-bottom:3px solid transparent!important;border-image:linear-gradient(90deg,#c6a15e 0 22%,#244e72 22% 57%,#c6a15e 57% 100%) 1!important}
.header-container{gap:12px}
.nav-menu ul{gap:clamp(7px,1.1vw,18px)!important;align-items:center}
.nav-menu a{font-size:clamp(.61rem,.72vw,.76rem)!important;letter-spacing:.025em!important;white-space:nowrap}
.nav-menu a.nav-team-login{background:#183e62;color:#fff!important;border:1px solid #c6a15e;border-radius:3px;padding:11px 13px;display:inline-flex;align-items:center;gap:7px;font-weight:700}
.nav-menu a.nav-team-login:hover{background:#244e72!important;color:#e1c995!important}
.hero:after{content:"";position:absolute;left:0;right:0;bottom:0;height:5px;background:linear-gradient(90deg,#c6a15e 0 25%,#244e72 25% 58%,#c6a15e 58% 100%);pointer-events:none}
.areas,.diferenciais{position:relative;overflow:hidden}
.areas:before,.diferenciais:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.23;background-image:repeating-linear-gradient(135deg,transparent 0 67px,rgba(224,192,121,.28) 68px,transparent 69px),repeating-linear-gradient(45deg,transparent 0 137px,rgba(224,192,121,.16) 138px,transparent 139px);mask-image:linear-gradient(90deg,transparent 30%,#000 100%)}
.areas>.container,.diferenciais>.container{position:relative;z-index:1}
.missao-valores{position:relative;overflow:hidden}
.missao-valores:after{content:"";position:absolute;right:-4%;bottom:0;width:min(38vw,440px);height:75%;background:url('img/timbrado-identidade.jpg') right center/auto 100% no-repeat;opacity:.10;pointer-events:none;mask-image:linear-gradient(90deg,transparent,#000 40%)}
.missao-valores>.container{position:relative;z-index:1}
.office-gallery{padding:88px 0;background:#f7f8f8;position:relative;border-top:4px solid #c6a15e}
.office-gallery h2{max-width:850px}.office-gallery-lead{max-width:750px;color:#526477;margin:16px 0 28px;line-height:1.7}
.office-gallery-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.office-gallery-grid figure{margin:0;background:#fff;border:1px solid #e3e5e6;box-shadow:0 10px 30px rgba(16,43,69,.06)}
.office-gallery-grid img{width:100%;height:370px;object-fit:cover;display:block}
.office-gallery-grid figcaption{padding:14px 18px;color:#244e72;font-size:.85rem;font-weight:600;border-top:3px solid #c6a15e}
@media(max-width:1100px){.nav-menu a{font-size:.66rem!important}.header .logo img{max-height:65px}.header-container{padding-left:18px;padding-right:18px}}
@media(max-width:768px){.office-gallery{padding:60px 0}.office-gallery-grid{grid-template-columns:1fr}.office-gallery-grid img{height:310px}.nav-menu a.nav-team-login{margin-top:8px;justify-content:center}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Header desktop: navegação legível, logo maior e filetes do timbrado */
.header{border-bottom:0!important;position:sticky!important}
.header:after{content:"";position:absolute;bottom:0;left:0;right:0;height:7px;background:linear-gradient(90deg,#c6a15e 0 24%,#244e72 24% 55%,#c6a15e 55% 100%);pointer-events:none}
.header-container{max-width:1600px!important;min-height:116px!important;gap:24px!important}
.header .logo{width:auto!important;min-width:310px;flex:0 0 auto}
.header .logo img{width:clamp(310px,25vw,425px)!important;max-width:425px!important;max-height:104px!important;height:auto!important;object-fit:contain}
.nav-menu{display:block!important;min-width:0}
.nav-menu ul{display:flex!important;gap:clamp(9px,.85vw,18px)!important;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.nav-menu a:not(.nav-team-login){color:#173b59!important;font-size:clamp(.68rem,.78vw,.82rem)!important;font-weight:700!important;letter-spacing:.025em!important}
.nav-menu a:not(.nav-team-login):hover{color:#a98242!important}
.nav-menu a.nav-team-login{font-size:.75rem!important}
.whatsapp-float{position:fixed!important;top:auto!important;left:auto!important;right:26px!important;bottom:26px!important;z-index:9999!important}
.footer{position:relative;border-top:7px solid transparent!important;border-image:linear-gradient(90deg,#c6a15e 0 24%,#40668c 24% 55%,#c6a15e 55% 100%) 1!important}
.footer-bottom{border-top:4px solid transparent!important;border-image:linear-gradient(90deg,#c6a15e 0 24%,#40668c 24% 55%,#c6a15e 55% 100%) 1!important}
@media(min-width:769px) and (max-width:1200px){.header-container{gap:12px!important}.header .logo{min-width:220px}.header .logo img{width:clamp(220px,25vw,310px)!important}.nav-menu ul{gap:8px!important}.nav-menu a:not(.nav-team-login){font-size:.65rem!important}}
@media(max-width:768px){.header-container{min-height:83px!important}.header .logo{min-width:0!important}.header .logo img{width:clamp(210px,58vw,290px)!important;max-height:75px!important}.menu-toggle{display:block!important;color:#173b59!important}.nav-menu{display:none!important;position:absolute!important;top:100%;left:0;right:0;background:#fff!important;padding:18px!important;box-shadow:0 14px 30px rgba(0,0,0,.14)}.nav-menu.active{display:block!important}.nav-menu ul{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:4px!important}.nav-menu a:not(.nav-team-login){display:block;padding:10px 8px;font-size:.82rem!important}.whatsapp-float{bottom:18px!important;right:18px!important}}

/* Identidade refinada: ouro fosco e linhas de menor contraste */
.header:after{height:5px!important;background:linear-gradient(90deg,#bca77e 0 24%,#42617e 24% 55%,#bca77e 55% 100%)!important}
.footer{border-top:5px solid transparent!important;border-image:linear-gradient(90deg,#bca77e 0 24%,#42617e 24% 55%,#bca77e 55% 100%) 1!important}
.footer-bottom{border-top:3px solid transparent!important;border-image:linear-gradient(90deg,#bca77e 0 24%,#42617e 24% 55%,#bca77e 55% 100%) 1!important}
.hero:after{height:4px!important;background:linear-gradient(90deg,#bca77e 0 25%,#42617e 25% 58%,#bca77e 58% 100%)!important}
.nav-menu a.nav-team-login{border-color:#bca77e!important}
.contact-quickbar a{border-color:#d6ccba!important}
.footer-bottom .container.flex-between{display:flex!important;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap}
.footer-logo{display:flex!important;align-items:center;justify-content:center}
.footer-logo img{display:block;width:clamp(220px,23vw,310px);height:auto;max-height:92px;object-fit:contain;filter:brightness(0) invert(1);opacity:.88}
.back-to-top{position:fixed;left:24px;bottom:24px;width:52px;height:52px;display:flex;align-items:center;justify-content:center;background:#173b59;color:#fff;border:1px solid #bca77e;border-radius:50%;z-index:9998;box-shadow:0 8px 20px rgba(0,0,0,.16);text-decoration:none;transition:transform .2s,background .2s}
.back-to-top:hover{background:#315675;transform:translateY(-3px)}
.back-to-top:focus-visible{outline:3px solid #bca77e;outline-offset:3px}
@media(max-width:768px){.footer-bottom .container.flex-between{flex-direction:column;text-align:center}.footer-logo img{width:245px;max-height:85px}.back-to-top{left:17px;bottom:18px;width:48px;height:48px}}

/* Fotografias temáticas específicas para cada especialidade */
.specialty-photo{overflow:hidden;border-radius:4px;background:#f4f5f6}
.specialty-photo-image{width:100%;aspect-ratio:1.6;min-height:280px;background-image:url('img/areas-tematicas.png?v=diversidade-2');background-repeat:no-repeat;background-size:200% 200%;background-color:#d7dfe3}
.specialty-photo-medico{background-position:left top}
.specialty-photo-previdencia{background-position:right top}
.specialty-photo-trabalho{background-position:left bottom}
.specialty-photo-inclusao{background-position:right bottom}
.specialty-photo figcaption{padding:12px 14px;font-size:.78rem;color:#607080;background:#f5f6f6}

/* Natal discreto: sobreposição independente, sem alterar a marca original */
.header .logo{position:relative;overflow:visible}
.header .logo:before{content:"";position:absolute;z-index:4;pointer-events:none;width:clamp(58px,5.4vw,78px);height:clamp(44px,4.2vw,61px);left:-24px;top:-19px;background:url('img/gorro-natal.png') center/contain no-repeat;transform:scaleX(-1) rotate(-12deg);filter:drop-shadow(0 2px 2px rgba(29,44,58,.13))}
.header .logo:after{content:"✦  ·  ✧";position:absolute;z-index:3;left:clamp(86px,9vw,125px);top:4px;color:#bca77e;opacity:.65;font-size:11px;letter-spacing:5px;pointer-events:none}
@media(max-width:1200px){.header .logo:before{width:62px;height:49px;left:-20px;top:-15px}.header .logo:after{left:86px;top:0}}
@media(max-width:768px){.header .logo:before{width:53px;height:41px;left:-16px;top:-12px}.header .logo:after{left:69px;top:0;font-size:9px}}

/* Gorro sobre o arco superior do emblema, cauda para a esquerda */
.header .logo:before{width:clamp(130px,12vw,172px)!important;height:clamp(76px,7.5vw,110px)!important;left:-56px!important;top:-35px!important;transform:scaleX(-1) rotate(3deg)!important;background-position:center!important}
@media(max-width:1200px){.header .logo:before{width:138px!important;height:88px!important;left:-45px!important;top:-29px!important}}
@media(max-width:768px){.header .logo:before{width:110px!important;height:72px!important;left:-37px!important;top:-24px!important}}

/* Ajuste fino: conjunto 12px abaixo, gorro 7px acima do conjunto */
.header .logo{transform:translateY(12px)!important}
.header .logo:before{top:-42px!important}
@media(max-width:1200px){.header .logo:before{top:-36px!important}}
@media(max-width:768px){.header .logo{transform:translateY(8px)!important}.header .logo:before{top:-30px!important}}

/* Encostar o aro da logomarca na faixa branca do gorro sem mover o gorro */
.header .logo img.logo{transform:translateY(-7px)!important}
@media(max-width:768px){.header .logo img.logo{transform:translateY(-5px)!important}}
