/* R292: independent Reservas, native-aspect automation hero, balanced desktop rhythm. */
body.service-automacao .seo-hero {
  position:relative!important;isolation:isolate!important;
  height:clamp(530px,44vw,645px)!important;min-height:0!important;
  display:flex!important;align-items:center!important;
  background:#073d46!important;overflow:hidden!important
}
/* Illustration uses its ORIGINAL 2048 x 1374 ratio, never height:100% + width:100% stretch. */
body.service-automacao .seo-hero .seo-hero-media{
  position:absolute!important;z-index:0!important;
  inset:auto 0 auto auto!important;top:50%!important;transform:translateY(-50%)!important;
  width:min(58%,840px)!important;height:auto!important;
  aspect-ratio:2048/1374!important;overflow:visible!important;
  background:transparent!important
}
body.service-automacao .seo-hero .seo-hero-media picture,
body.service-automacao .seo-hero .seo-hero-media img{
  position:relative!important;display:block!important;
  width:100%!important;height:auto!important;aspect-ratio:2048/1374!important;
  object-fit:contain!important;object-position:center!important;
  max-width:100%!important;max-height:none!important;
  background:transparent!important;opacity:1!important;transform:none!important
}
body.service-automacao .seo-hero .seo-hero-media:after{
  content:""!important;display:block!important;position:absolute!important;z-index:1!important;
  inset:0!important;pointer-events:none!important;
  background:linear-gradient(90deg,#073d46 0%,rgba(7,61,70,.22) 19%,transparent 46%)!important
}
body.service-automacao .seo-hero>.shell{position:relative!important;z-index:2!important}
body.service-automacao .seo-section:not(.seo-cta){
  padding:clamp(52px,6vw,82px) 0!important;
  background:#f7f2e6!important
}
body.service-automacao .seo-section:not(.seo-cta)>.shell{max-width:1320px!important}
body.service-automacao .seo-grid{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:stretch!important;gap:clamp(18px,2.1vw,28px)!important;margin:0 0 24px!important
}
body.service-automacao .seo-grid>.seo-card{
  min-width:0!important;min-height:0!important;height:auto!important;
  padding:clamp(25px,2.5vw,36px)!important;
  border-radius:18px!important;box-sizing:border-box!important;
  display:flex!important;flex-direction:column!important;gap:0!important
}
body.service-automacao .seo-card h2{
  font-size:clamp(22px,2.2vw,30px)!important;line-height:1.18!important;
  margin:0 0 20px!important;max-width:100%!important
}
body.service-automacao .seo-card p{
  font-size:clamp(14px,1.14vw,16px)!important;line-height:1.6!important;
  margin:0 0 15px!important;max-width:68ch!important
}
body.service-automacao .seo-card ul{margin:0!important;padding-left:23px!important}
body.service-automacao .seo-card li{
  font-size:clamp(14px,1.13vw,16px)!important;line-height:1.5!important;
  padding:5px 0!important;margin:0!important
}
body.service-automacao .seo-card p:last-child{margin-bottom:0!important}
body.service-automacao .seo-section:not(.seo-cta)>.shell>.seo-card{
  margin-top:0!important;padding:clamp(28px,3vw,42px)!important;
  border-radius:18px!important
}
body.service-automacao .seo-cta{padding:clamp(60px,7vw,96px) 0!important}
body.service-automacao .seo-cta h2{margin:13px 0 18px!important;line-height:1.08!important}
body.service-automacao .seo-cta p{margin:0 0 22px!important;line-height:1.55!important}
body.service-automacao .seo-cta .button{min-height:46px!important}
/* The independent Reservas page: desktop full-bleed art and proportionate copy. */
body.service-reservas .seo-hero{
  position:relative!important;isolation:isolate!important;
  display:flex!important;align-items:center!important;overflow:hidden!important;
  aspect-ratio:2048/768!important;height:auto!important;min-height:0!important;
  background:#073d46!important;padding:0!important;color:#f8f4e9!important
}
body.service-reservas .seo-hero .seo-hero-media{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  max-width:none!important;z-index:0!important;margin:0!important
}
body.service-reservas .seo-hero .seo-hero-media::before,
body.service-reservas .seo-hero .seo-hero-media::after{content:none!important;display:none!important}
body.service-reservas .seo-hero .seo-hero-media picture,
body.service-reservas .seo-hero .seo-hero-media img{
  display:block!important;width:100%!important;height:100%!important;
  object-fit:cover!important;object-position:center!important;opacity:1!important
}
body.service-reservas .seo-hero>.shell{
  position:relative!important;z-index:2!important;display:flex!important;flex-direction:column!important;
  justify-content:center!important;align-items:flex-start!important;gap:0!important;
  box-sizing:border-box!important;width:min(calc(100% - 80px),1300px)!important;
  min-height:0!important;margin:0 auto!important;padding:25px 0!important;
  background:transparent!important
}
body.service-reservas .seo-hero .seo-eyebrow{
  color:#c8f25c!important;background:transparent!important;margin:0 0 12px!important;padding:0!important
}
body.service-reservas .seo-hero h1{
  color:#fff!important;font-size:clamp(36px,3.9vw,60px)!important;
  line-height:1.04!important;max-width:min(42vw,570px)!important;margin:0 0 16px!important
}
body.service-reservas .seo-hero p{
  color:#eff6ed!important;max-width:min(40vw,520px)!important;
  font-size:clamp(14px,1.25vw,17px)!important;line-height:1.5!important;margin:0 0 16px!important
}
body.service-reservas .seo-hero .seo-actions{
  display:flex!important;gap:12px!important;margin:0!important;padding:0!important
}
body.service-reservas .seo-hero .seo-actions a{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:46px!important;padding:10px 18px!important;margin:0!important;
  background:#c8f25c!important;color:#083840!important;border-radius:9px!important;
  text-decoration:none!important;font-weight:800!important
}
body.service-reservas .seo-section:not(.seo-cta){
  padding:clamp(48px,5vw,76px) 0!important
}
body.service-reservas .seo-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important}
body.service-reservas .seo-grid .seo-card{padding:clamp(24px,2.5vw,34px)!important;border-radius:17px!important}
body.service-reservas .seo-card h2{margin:0 0 15px!important;line-height:1.16!important}
body.service-reservas .seo-card p,body.service-reservas .seo-card li{line-height:1.55!important}
body.service-reservas .seo-cta{padding:clamp(56px,7vw,88px) 0!important}
/* Four readable choices in the parent Soluções section. */
.r291-offer-grid{gap:clamp(14px,2vw,24px)!important;align-items:stretch!important}
.r291-offer-grid article{padding:clamp(23px,2.6vw,36px)!important}
/* Tablet: image has space for its own natural aspect; copy doesn't cross the artwork. */
@media(min-width:761px) and (max-width:1100px){
 body.service-automacao .seo-hero{height:auto!important;aspect-ratio:1586/992!important;min-height:0!important}
 body.service-automacao .seo-hero .seo-hero-media{
   width:55%!important;right:0!important;top:50%!important;
   height:auto!important;aspect-ratio:2048/1374!important
 }
 body.service-automacao .seo-hero .seo-hero-media picture,
 body.service-automacao .seo-hero .seo-hero-media img{
   width:100%!important;height:auto!important;aspect-ratio:2048/1374!important;
   object-fit:contain!important
 }
 body.service-automacao .seo-hero>.shell{width:calc(100% - 56px)!important;margin:0 28px!important}
 body.service-automacao .seo-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important}
 body.service-automacao .seo-grid .seo-card:last-child{grid-column:span 2}
 body.service-reservas .seo-hero{aspect-ratio:1586/992!important}
 body.service-reservas .seo-hero>.shell{width:calc(100% - 60px)!important;margin:0 30px!important}
 body.service-reservas .seo-hero h1{max-width:41vw!important;font-size:clamp(31px,4vw,44px)!important}
 body.service-reservas .seo-hero p{max-width:40vw!important;font-size:clamp(12px,1.53vw,15px)!important}
 body.service-reservas .seo-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
 body.service-automacao .seo-hero{
   height:auto!important;aspect-ratio:1122/1402!important
 }
 body.service-automacao .seo-hero .seo-hero-media{
   inset:0!important;top:0!important;transform:none!important;
   width:100%!important;height:100%!important;aspect-ratio:1122/1402!important
 }
 body.service-automacao .seo-hero .seo-hero-media picture,
 body.service-automacao .seo-hero .seo-hero-media img{
   width:100%!important;height:100%!important;
   aspect-ratio:1122/1402!important;object-fit:cover!important
 }
 body.service-automacao .seo-hero .seo-hero-media::after{content:none!important;display:none!important}
 body.service-automacao .seo-section:not(.seo-cta){padding:42px 0!important}
 body.service-automacao .seo-grid{grid-template-columns:1fr!important;gap:16px!important;margin-bottom:16px!important}
 body.service-automacao .seo-grid .seo-card:last-child{grid-column:auto!important}
 body.service-automacao .seo-grid>.seo-card{padding:23px!important;border-radius:14px!important}
 body.service-automacao .seo-card h2{font-size:24px!important;margin-bottom:13px!important}
 body.service-automacao .seo-section:not(.seo-cta)>.shell>.seo-card{padding:24px!important}
 body.service-automacao .seo-cta{padding:54px 0!important}
 body.service-reservas .seo-hero{
   display:block!important;aspect-ratio:1122/1402!important;height:auto!important;
   min-height:0!important;border-radius:0!important;padding:0!important
 }
 body.service-reservas .seo-hero .seo-hero-media{
   position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important
 }
 body.service-reservas .seo-hero .seo-hero-media picture,
 body.service-reservas .seo-hero .seo-hero-media img{
   display:block!important;width:100%!important;height:100%!important;
   object-fit:cover!important;object-position:center!important
 }
 body.service-reservas .seo-hero>.shell{
   position:relative!important;width:calc(100% - 38px)!important;margin:0 19px!important;
   padding:23px 0 0!important;justify-content:flex-start!important
 }
 body.service-reservas .seo-hero .seo-eyebrow{font-size:10px!important;margin-bottom:9px!important}
 body.service-reservas .seo-hero h1{max-width:310px!important;font-size:clamp(32px,8vw,39px)!important;margin:0 0 10px!important}
 body.service-reservas .seo-hero p{max-width:310px!important;font-size:clamp(12px,3.25vw,14px)!important;line-height:1.38!important;margin:0 0 11px!important}
 body.service-reservas .seo-hero .seo-actions a{font-size:12px!important;min-height:42px!important;padding:9px 14px!important}
 body.service-reservas .seo-grid{grid-template-columns:1fr!important;gap:16px!important}
 body.service-reservas .seo-grid .seo-card{padding:24px!important}
 body.service-reservas .seo-section:not(.seo-cta){padding:42px 0!important}
}

/* Restore the modern public header on the legacy reservation HTML. */
body.service-reservas .site-header{
 position:relative!important;z-index:600!important;display:block!important;
 width:100%!important;min-height:0!important;background:#f7f2e6!important
}
body.service-reservas .site-header .nav-operations svg{
 width:20px!important;height:20px!important;max-width:20px!important;max-height:20px!important
}
/* Only ONE text variant can be visible on each device. */
@media(min-width:761px){
 body.service-reservas .seo-hero .mobile-hero-title,
 body.service-reservas .seo-hero .mobile-hero-summary{display:none!important}
 body.service-reservas .seo-hero .desktop-hero-title,
 body.service-reservas .seo-hero .desktop-hero-summary{display:inline!important}
}
@media(max-width:760px){
 body.service-reservas .seo-hero{aspect-ratio:1122/1582!important}
 body.service-reservas .seo-hero .mobile-hero-title,
 body.service-reservas .seo-hero .mobile-hero-summary{display:inline!important}
 body.service-reservas .seo-hero .desktop-hero-title,
 body.service-reservas .seo-hero .desktop-hero-summary{display:none!important}
 body.service-reservas .seo-hero .seo-actions a{max-width:200px!important;font-size:11px!important}
}

/* Keep desktop reservation summary in its designed left editorial area. */
@media(min-width:761px){
 body.service-reservas .seo-hero p.hero-balanced-copy{
   display:block!important;width:min(39vw,510px)!important;
   max-width:min(39vw,510px)!important;white-space:normal!important;
   overflow-wrap:normal!important;line-height:1.48!important
 }
 body.service-reservas .seo-hero .desktop-hero-summary{
   display:block!important;white-space:normal!important;max-width:100%!important;
   font-size:clamp(14px,1.19vw,17px)!important;line-height:1.48!important
 }
}

/* R292 tablet track repair: legacy editorial CSS had forced 52px + 1fr. */
@media(min-width:761px) and (max-width:900px){
 body.seo-page.service-automacao main .seo-section .seo-grid{
   display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
   gap:20px!important;align-items:stretch!important
 }
 body.seo-page.service-automacao main .seo-section .seo-grid>.seo-card{
   width:auto!important;min-width:0!important;max-width:none!important;
   grid-column:auto!important;box-sizing:border-box!important
 }
 body.seo-page.service-automacao main .seo-section .seo-grid>.seo-card:last-child{
   grid-column:1/-1!important
 }
}
