/* Boraschi & Turatto | ajustes pontuais de marca e menu celular. Layout existente preservado. */
body > header .turatto-mark, #turatto-site-header .turatto-mark {
  flex-direction:row !important; align-items:center !important; gap:10px !important; text-align:left !important;
}
body > header .turatto-mark .bt-brand-icon, #turatto-site-header .turatto-mark .bt-brand-icon {
  display:block; width:41px; height:41px; flex:0 0 41px; object-fit:contain;
}
body > header .turatto-mark .bt-brand-text, #turatto-site-header .turatto-mark .bt-brand-text {display:flex;flex-direction:column;align-items:flex-start}
body > header .turatto-mark strong, #turatto-site-header .turatto-mark strong {
  font-size:clamp(14px,1.35vw,20px) !important;letter-spacing:1.3px !important;padding:0 !important;text-align:left !important;
}
body > header .turatto-mark small, #turatto-site-header .turatto-mark small {
  font-size:8px !important;letter-spacing:2px !important;line-height:1.4 !important;margin:5px 0 0 !important;max-width:initial !important;
}
.bt-menu-toggle {display:none; appearance:none;border:1px solid #a99270;border-radius:3px;color:#e9dfcf;background:transparent;font:600 14px Arial,Helvetica,sans-serif;min-height:43px;padding:8px 13px;cursor:pointer;}
.bt-menu-toggle:focus-visible{outline:2px solid #d6c3a1;outline-offset:3px}
.bt-gustavo-profile {border-top:1px solid #e1dbd2;margin-top:42px;padding-top:40px;display:grid;grid-template-columns:minmax(0,360px) minmax(0,1fr);gap:62px;align-items:start}
.bt-gustavo-photo {width:100%;aspect-ratio:4/5;height:auto;object-fit:cover;object-position:50% 23%;border-radius:3px;box-shadow:0 6px 25px #152e4917}
.bt-gustavo-bio h2 {font-family:Georgia,serif!important;font-size:clamp(32px,4vw,51px)!important;font-weight:400!important;margin:3px 0 14px!important}
.bt-gustavo-bio p {line-height:1.8;font-size:16px}
.bt-civil-advocate {border-left:3px solid #bba078;background:#f8f5ef;padding:14px 18px;margin:18px 0 22px;line-height:1.7;color:#152e49}
.bt-civil-advocate a{color:#152e49;text-decoration:underline}
.bt-consent-bar{position:fixed;z-index:9999;bottom:12px;left:50%;transform:translateX(-50%);width:min(660px,calc(100% - 24px));border:1px solid #a99270;box-shadow:0 8px 30px #0e21353d;background:#fffefa;color:#152e49;padding:14px 17px;border-radius:8px;font:14px/1.5 Arial,Helvetica,sans-serif}
.bt-consent-bar p{margin:0 0 8px}.bt-consent-bar .bt-actions{display:flex;gap:10px;flex-wrap:wrap}
.bt-consent-bar button{border:1px solid #a99270;padding:8px 15px;border-radius:4px;background:#152e49;color:#fff;cursor:pointer;min-height:40px}
.bt-consent-bar button.bt-reject{background:white;color:#152e49}
.bt-consent-bar a{color:#152e49}
.bt-consent-reopen{font:inherit;background:none;border:0;color:inherit;text-decoration:underline;cursor:pointer}
#bt-privacy-preferences:not([hidden]) {display:inline-block;margin:10px 0;border:1px solid #a99270;border-radius:3px;padding:9px 14px;background:#fff;color:#152e49;cursor:pointer}
@media (min-width:1221px){
 body > header .navlinks{flex-wrap:nowrap !important;gap:11px !important;}
 body > header .navlinks a{white-space:nowrap !important;font-size:12px !important;padding-left:2px!important;padding-right:2px!important}
 body > header .navlinks a.outline{white-space:nowrap!important;padding:10px 12px!important;}
}
@media (max-width:1220px){
 body > header nav.wrap,#turatto-site-header .turatto-site-head-inner{flex-direction:row !important;}
 #inicio .service-groups-nav.service-groups-nav {display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; width:100% !important; max-width:100% !important;}
 #inicio .service-groups-nav.service-groups-nav > a {min-width:0 !important; width:auto!important;}
 #inicio .service-groups-nav.service-groups-nav > a span {white-space:normal!important;overflow-wrap:anywhere!important;max-width:100%!important;width:auto!important;}
 body > header {position:relative !important;z-index:1001}
 body > header nav.wrap,#turatto-site-header .turatto-site-head-inner {min-height:70px !important;padding-top:10px !important;padding-bottom:10px !important;display:flex !important;align-items:center !important;justify-content:space-between !important;flex-wrap:nowrap !important;gap:10px !important}
 body > header .turatto-mark strong,#turatto-site-header .turatto-mark strong{font-size:clamp(13px,3vw,18px) !important;letter-spacing:0.6px !important}
 body > header .turatto-mark small,#turatto-site-header .turatto-mark small{font-size:8px !important;letter-spacing:1.4px !important;margin-top:3px !important}
 body > header .turatto-mark .bt-brand-icon,#turatto-site-header .turatto-mark .bt-brand-icon{width:35px;height:35px;flex-basis:35px}
 body > header .turatto-mark,#turatto-site-header .turatto-mark{gap:7px!important;min-width:0!important}
 .bt-menu-toggle{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;flex-shrink:0;order:99}
 body > header .navlinks, #turatto-site-header .turatto-site-links {display:none !important;position:absolute !important;left:0;right:0;top:calc(100% - 1px);background:#10293F !important;padding:10px 17px 17px!important;margin:0!important;border-top:1px solid #9B805B;box-shadow:0 16px 25px #0002;z-index:2000;flex-direction:column !important;flex-wrap:nowrap !important;align-items:stretch!important;gap:2px!important;max-height:calc(100dvh - 80px);overflow:auto}
 body > header.bt-menu-open .navlinks,#turatto-site-header.bt-menu-open .turatto-site-links {display:flex !important}
 body > header .navlinks a,#turatto-site-header .turatto-site-links a {display:flex !important;width:100% !important;min-height:44px !important;text-align:left!important;justify-content:flex-start!important;align-items:center!important;padding:10px 14px!important;font-size:14px!important;white-space:normal!important}
 body > header .navlinks a.outline {justify-content:center!important;margin-top:8px!important}
 .bt-gustavo-profile{grid-template-columns:1fr;gap:22px;margin-top:28px;padding-top:26px}
 .bt-gustavo-photo{max-width:420px;margin:auto;object-position:50% 20%}
}
@media (max-width:600px){
 main.article {min-width:0!important;width:calc(100% - 32px)!important;max-width:calc(100% - 32px)!important;margin-left:auto!important;margin-right:auto!important}
 main.article .turatto-pcd-directory,main.article .simple-grid,main.article .simple-card {min-width:0!important;max-width:100%!important;width:100%!important;box-sizing:border-box!important}
 main.article p,main.article h2,main.article h3,main.article li {max-width:100%!important;overflow-wrap:anywhere!important}
}
@media (max-width:380px){body > header .turatto-mark strong,#turatto-site-header .turatto-mark strong{font-size:12px!important;letter-spacing:0!important}body > header .turatto-mark small,#turatto-site-header .turatto-mark small{letter-spacing:1px!important}}

/* Navegação: link tributário e rolagem do menu em telas menores. */
@media (max-width:1350px) and (min-width:1221px){
  body>header .navlinks a {font-size:11px!important}
  #turatto-site-header .turatto-site-links {gap:9px!important}
  #turatto-site-header .turatto-site-links a {font-size:11px!important}
  body>header .turatto-mark strong, #turatto-site-header .turatto-mark strong {font-size:14px!important}
}
.practice-nav a {min-width:0;white-space:normal}
@media (max-width:650px){
  .practice-nav {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .practice-nav a {width:auto!important;max-width:100%!important;min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important;text-align:center!important;font-size:11px!important;padding:10px 5px!important}
}
.bt-attorney-location {font-size:13px!important;line-height:1.6!important;color:#152E49;margin-top:16px!important;padding:0!important;border:0!important;background:transparent!important}
